package com.sofaguest.entry;

/**
 * @author 返回实体类
 */
public class SofaResult {

    public final static String ERROR_CODE = "9999";
    public final static String SUCCESS_CODE = "0000";

    private String status; // 编码
    private String detial; // 描述
    private Object data; // 数据

    public SofaResult() {

    }

    public SofaResult(String status, String detial, Object data) {
        super();
        this.status = status;
        this.detial = detial;
        this.data = data;
    }

    public String getstatus() {
        return status;
    }

    public void setstatus(String status) {
        this.status = status;
    }

    public String getDetial() {
        return detial;
    }

    public void setDetial(String detial) {
        this.detial = detial;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Result [status=" + status + ", detial=" + detial + ", data=" + data + "]";
    }

}
